package com.msb.bean;

/**
 * @author sunpeng
 * @Date 2021-02-24 17:42
 */

public class User {

    //@Value("${myUser.name}")
    private String name;

    //@Value("#{12}")
    private int age;

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", age=" + age +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
